/**
 * 一些代码常量配置
 * NOTE: 仅用于配置代码常量值
 * @author ChenMingbing
 * @since 18/04/12
 */

enum CONFIG {
  WEBSITE = '绘本管理后台',

  // 服务异常
  SERVICE_EXCEPTION = '服务异常，请稍后重试',

  KNOWLEDGE = 'Knowledge', // 知识点
  COURSE = 'Course', // 课程
  LESSON = 'Lesson', // 课时
  BOOK = 'Book', // 绘本页
  LEVEL = 'Level', // 闯关游戏关卡
  TEST = 'Test', // 闯关游戏测试

  ITEM_IMAGE = 'image',
  ITEM_AUDIO = 'audio',
  ITEM_VIDEO = 'video',

  IMAGE_ACCEPT = 'image/jpg,image/jpeg,image/png,image/gif',
  AUDIO_ACCEPT = 'audio/mp3',
  VIDEO_ACCEPT = 'video/mp4',

  IMAGE_MAXSIZE = 20,
  AUDIO_MAXSIZE = 20,
  VIDEO_MAXSIZE = 50,
}

export default CONFIG;
